package Question01;

public class Student {
    String name;
    int age;
    String std;

    public Student(String std, String name, int age) {
        this.std = std;
        this.name = name;
        this.age = age;
    }

    public  void displayInfo()
    {
        System.out.println("姓名： "+this.name+",年龄： "+this.age+",学号： "+this.std);

    }
}
